/*
 * @Author: DUST
 * @Date: 2023-06-06 16:43:22
 * @LastEditors: DUST
 * @LastEditTime: 2023-06-27 15:08:27
 * @FilePath: \koa-node-ts\app\router\foreEnd\notes.ts
 * @Description: 
 * undefined
 */

import koaRouter from "koa-router";
import NoteController from "../../controller/NoteController";

const noteRouter = new koaRouter();

noteRouter.prefix("/note");

// 获取笔记列表
noteRouter.get("/sign/page", NoteController.getBrowseNoteList);
// 获取笔记列表
noteRouter.get("/sign/details/:id", NoteController.getNoteDetailsById);

export default noteRouter;